package com.doit.day02;

import org.apache.hadoop.hbase.client.Admin;
import org.apache.hadoop.hbase.client.Connection;

import java.io.IOException;

public class _03_删除名称空间 {
    public static void main(String[] args) throws IOException {
        Connection conn = HbaseUtil.getConn();
        Admin admin = conn.getAdmin();

        admin.deleteNamespace("doit01");
        admin.deleteNamespace("doit02");

        admin.close();

    }
}
